#pragma once

#include "Types.h"

namespace TrueText {

// Shadow parameters for FontEffectShadow
class ShadowInfo
{
public:
	ShadowInfo()
		: offset()
		, color(0x7F, 0x00, 0x00, 0x00)
	{ }

	ShadowInfo(const ShadowInfo& rhs)
		: offset(rhs.offset)
		, color(rhs.color)
	{ }

	const ShadowInfo& operator=(const ShadowInfo& rhs)
	{
		if (&rhs == this)
			return *this;

		offset = rhs.offset;
		color = rhs.color;

		return *this;
	}

	const Point& GetOffset() const { return offset; }
	void SetOffset(const Point& value) { offset = value; }

	const Color& GetColor() const { return color; }
	void SetColor(const Color& value) { color = value; }
private:
	Point offset;
	Color color;
};

}